package top.simonby.iron.plugin.data.jpa;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * 主键为Long 通用接口,JpaRepository<T, TD>, JpaSpecificationExecutor<T>
 * 可单独再加QuerydslPredicateExecutor<T>
 *
 * @author 91223
 * @param <T>
 */
@NoRepositoryBean
public interface BaseJpaDao<T,TD> extends JpaRepository<T, TD>, JpaSpecificationExecutor<T> {
}
